NDepend.API Documentation
OrderByHierarchy(IEnumerable<IAttributeTarget>) Method
NDepend.CodeModel Namespace > ExtensionMethodsProjection Class > OrderByHierarchy Method : OrderByHierarchy(IEnumerable<IAttributeTarget>) Method
This sequence of IAttributeTarget objects.
Returns a sequence that contain these attributeTargets ordered by hierarchy. For example an assembly of attributeTargets is followed by its first child type in sequence, that is followed by its first child method in the sequence...
Syntax

Parameters

attributeTargets
This sequence of IAttributeTarget objects.
Remarks
An IAssembly object, is followed by its child IType objects.
A IType object, is followed by its child IMethod and IField objects.
A IType object, is also followed by its nested ITypeobjects.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsProjection Class
ExtensionMethodsProjection Members
Overload List